package com.iwuyc.tools.commons.util.file.bo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * The FileInfo class represents information about a file.
 * It provides methods to get and set the file name, extension name, and file size.
 */
@Getter
@Setter
@ToString
public class FileInfo {
    /**
     * The name of the file.
     */
    private String name;
    /**
     * The extension name.
     *
     * This variable represents the name of an extension. It is of type String.
     * It is used to store and retrieve the name of the extension in various operations.
     */
    private String extName;

    /**
     * Represents the size of a file(unit was bytes).
     */
    private long size;
}
